package cn.shengongying.service;

import cn.shengongying.model.WorkerList;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author RXK
 * @since 2022-01-22
 */
public interface IWorkerListService extends IService<WorkerList> {

    List<WorkerList> findByUserIds(List<Long> userIds);

    int countByUserIdAndType(Set<Long> userId, Integer type);

    List<WorkerList> findByUserId(Long userId);
}
